package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInventoryInDetail;
import com.scm.persist.model.ScmInventoryInDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInventoryInDetailMapper {
    int countByExample(ScmInventoryInDetailExample example);

    int deleteByExample(ScmInventoryInDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInventoryInDetail record);

    int batchInsert(@Param("list") List<ScmInventoryInDetail> record);

    int insertSelective(ScmInventoryInDetail record);

    List<ScmInventoryInDetail> selectByExampleWithRowbounds(ScmInventoryInDetailExample example, RowBounds rowBounds);

    List<ScmInventoryInDetail> selectByExample(ScmInventoryInDetailExample example);

    ScmInventoryInDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInventoryInDetail record, @Param("example") ScmInventoryInDetailExample example);

    int updateByExample(@Param("record") ScmInventoryInDetail record, @Param("example") ScmInventoryInDetailExample example);

    int updateByPrimaryKeySelective(ScmInventoryInDetail record);

    int updateByPrimaryKey(ScmInventoryInDetail record);
}